import request from '../utils/request'

/**
 * 健康上报
 * @param ruleForm
 * @returns {AxiosPromise}
 */
export const report= (ruleForm) => {
    return request({
        url: '/health/report',
        method: 'post',
        data: ruleForm
    })
}

/**
 * 是否已打卡
 * @returns {AxiosPromise}
 */
export const isReport= () => {
    return request({
        url: '/health/isReport',
        method: 'get'
    })
}

/**
 * 省份信息
 * @returns {AxiosPromise}
 */
export const provinces = () => {
    return request({
        url: '/json/provinces.json',
        method: 'get'
    })
}